load("//devtools/tools:defaults.bzl", "ng_project", "sass_binary")

package(default_visibility = ["//visibility:public"])

sass_binary(
    name = "devtools_app_component_styles",
    src = "devtools-app.component.scss",
)

ng_project(
    name = "devtools-app",
    srcs = [
        "devtools-app.component.ts",
        "devtools-app.routes.ts",
    ],
    angular_assets = [
        "devtools-app.component.html",
        ":devtools_app_component_styles",
    ],
    deps = [
        "//:node_modules/@angular/common",
        "//:node_modules/@angular/core",
        "//:node_modules/@angular/router",
        "//devtools/projects/ng-devtools",
        "//devtools/projects/ng-devtools/src/lib/application-services:frame_manager",
        "//devtools/projects/ng-devtools/src/lib/shared/split",
        "//devtools/projects/protocol",
        "//devtools/src:communication",
        "//devtools/src:iframe_message_bus",
    ],
)
